package com.example.gokchinesefoodmappcdev.service;

import com.example.gokchinesefoodmappcdev.entity.LocationAddress;
import com.example.gokchinesefoodmappcdev.entity.OrderInfo;
import com.example.gokchinesefoodmappcdev.entity.PageBean;
import com.example.gokchinesefoodmappcdev.entity.dto.OrderInfoDTO;
import com.example.gokchinesefoodmappcdev.entity.dto.OrderInfoExcelDTO;
import com.example.gokchinesefoodmappcdev.util.ResultData;

import java.util.List;

public interface OrderInfoService {
    ResultData selectOrderList(Integer pageNumber, Integer pageSize);

    int selectAddressIdByOrderNo(String orderNo);


    ResultData selectOrderInfoSByAddressAndOrderNo(int addressId, String orderNo);

    ResultData selectListSubOrder(String orderNo);

    ResultData deliveryOrder(String orderNo, String logisticsNumber, String logisticsCompany);

    List<OrderInfoExcelDTO> getOrdersInfo();

    ResultData selectOrderReturnList(Integer pageSize, Integer pageNumber, String returnNo);
}
